package com.dragon.modules.yuegou.mapper.company;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.company.EmployeesEntity;
import com.dragon.modules.yuegou.model.company.Employees;
import com.dragon.modules.yuegou.query.company.EmployeeListQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 企业员工表 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-03-18 17:11:41
 * @version 2.0
 */
@Component("compEmployeesMapper")
public interface EmployeesMapper extends BaseMapper<EmployeesEntity> {

	/**
	 * 分页查询企业员工信息
	 * */
	IPage<Employees> search(IPage<Employees> page, @Param("query") EmployeeListQuery query);


	/**
	 * 分页查询企业员工信息
	 * */
	List<Employees> search(@Param("query") EmployeeListQuery query);

}
